// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import store from './store/index'
import fastclick from "fastclick";
import "swiper/dist/css/swiper.css";

import VueAwesomeSwiper from "vue-awesome-swiper";
import "./assets/styles/reset.css";
import "./assets/styles/border.css";
import "./assets/styles/iconfont/iconfont.css";

Vue.config.productionTip = false;
Vue.use(VueAwesomeSwiper);

fastclick.attach(document.body);
/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>",
  store,
  beforeCreate() {
    Vue.prototype.$bus = this;
  }
});
